package com.speedtickets.rest.services;

import java.util.List;

import com.speedtickets.rest.models.Vehicle;

public interface IVehicleService {

	public void createVehicle( Vehicle c ) throws Exception;
	
	public void updateVehicle( Vehicle c ) throws Exception;
	
	public void deleteVehicle( Vehicle v ) throws Exception;
	
	public List<Vehicle>findAllVehicles() throws Exception;
	
	public List<Vehicle>findAllVehicles(Integer limit, Integer offset);
	
	public Vehicle findVehicleById( Long id );
}
